#!/usr/bin/env python
# encoding: utf-8


"""
@file: sanjiao_constants.py
@time: 2017/3/6 上午9:45
"""
from sympy import sympify

# 内存中存放三角形对象的key
SanJiaoXingKey = 'sanjiaoxing'
TriangleKey = 'triangle'
# 三角形边名称的替换
SanJiaoXingLineSubs = (('AB', 'c'), ('AC', 'b'), ('BC', 'a'))
# 三角函数的Key
SanJiaoHanShuKey = 'sanjiaohansh'

QUADRANT_SEARCH_SUFFIX = '_quadrant'

# 等式搜寻

EQS_SEARCH_KEY = 'equations'


# 三角函数的的方向
class SanJiaoFangXiangKeys(object):
    Up = 'up'  # 上
    Down = 'down'  # 下
    Left = 'left'  # 左
    Right = 'right'  # 又


SanJiaoJiOuXingKey = sympify('trig_odd_or_even')


# 三角函数奇偶性类别
class SanJiaoHanShuJiOuXingType(object):
    ODD_FUNC = 'odd_func'
    EVEN_FUNC = 'even_func'
    NOT_ODD_AND_EVEN_FUNC = 'not_odd_and_even_func'


# 三角函数 单调区间搜寻
class TrigIntervalSearch(object):
    DEC_INTL = sympify('f_dec')
    INC_INTL = sympify('f_inc')
